package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * CwzbBgcy generated by hbm2java
 */
@Entity
@Table(name = "cwzb_bgcy")
public class CwzbBgcy implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private Short xh;
    private long ny;
    private BigDecimal yylrl;
    private BigDecimal jzcsyl;
    private BigDecimal zzcbcl;
    private BigDecimal zyywmlrl;
    private BigDecimal zyywsrzzl;
    private BigDecimal jlrzzl;
    private BigDecimal zbjll;
    private BigDecimal zcfzl;
    private BigDecimal ldbl;
    private BigDecimal sdbl;
    private BigDecimal ylxjbl;
    private BigDecimal xjldfzbl;
    private BigDecimal lxbzbs;
    private BigDecimal dqzwbxchl;
    private BigDecimal jzcynmdkyebl;
    private BigDecimal cqzbhbl;
    private BigDecimal gdzczzl;
    private BigDecimal dbbl;
    private BigDecimal rzl;
    private BigDecimal gdzcjzl;
    private BigDecimal zysrxjl;
    private BigDecimal yszkzzl;
    private BigDecimal gdzczzsd;
    private BigDecimal zzczzl;

    public CwzbBgcy()
    {
    }

    public CwzbBgcy( Long id, long ny )
    {
        this.id = id;
        this.ny = ny;
    }

    public CwzbBgcy( Long id,
                     Jbqk jbqk,
                     String username,
                     String operation,
                     Date optdate,
                     Short xh,
                     long ny,
                     BigDecimal yylrl,
                     BigDecimal jzcsyl,
                     BigDecimal zzcbcl,
                     BigDecimal zyywmlrl,
                     BigDecimal zyywsrzzl,
                     BigDecimal jlrzzl,
                     BigDecimal zbjll,
                     BigDecimal zcfzl,
                     BigDecimal ldbl,
                     BigDecimal sdbl,
                     BigDecimal ylxjbl,
                     BigDecimal xjldfzbl,
                     BigDecimal lxbzbs,
                     BigDecimal dqzwbxchl,
                     BigDecimal jzcynmdkyebl,
                     BigDecimal cqzbhbl,
                     BigDecimal gdzczzl,
                     BigDecimal dbbl,
                     BigDecimal rzl,
                     BigDecimal gdzcjzl,
                     BigDecimal zysrxjl,
                     BigDecimal yszkzzl,
                     BigDecimal gdzczzsd,
                     BigDecimal zzczzl )
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.xh = xh;
        this.ny = ny;
        this.yylrl = yylrl;
        this.jzcsyl = jzcsyl;
        this.zzcbcl = zzcbcl;
        this.zyywmlrl = zyywmlrl;
        this.zyywsrzzl = zyywsrzzl;
        this.jlrzzl = jlrzzl;
        this.zbjll = zbjll;
        this.zcfzl = zcfzl;
        this.ldbl = ldbl;
        this.sdbl = sdbl;
        this.ylxjbl = ylxjbl;
        this.xjldfzbl = xjldfzbl;
        this.lxbzbs = lxbzbs;
        this.dqzwbxchl = dqzwbxchl;
        this.jzcynmdkyebl = jzcynmdkyebl;
        this.cqzbhbl = cqzbhbl;
        this.gdzczzl = gdzczzl;
        this.dbbl = dbbl;
        this.rzl = rzl;
        this.gdzcjzl = gdzcjzl;
        this.zysrxjl = zysrxjl;
        this.yszkzzl = yszkzzl;
        this.gdzczzsd = gdzczzsd;
        this.zzczzl = zzczzl;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "xh")
    public Short getXh()
    {
        return this.xh;
    }

    public void setXh( Short xh )
    {
        this.xh = xh;
    }

    @Column(name = "ny", nullable = false)
    public long getNy()
    {
        return this.ny;
    }

    public void setNy( long ny )
    {
        this.ny = ny;
    }

    @Column(name = "yylrl", precision = 18, scale = 4)
    public BigDecimal getYylrl()
    {
        return this.yylrl;
    }

    public void setYylrl( BigDecimal yylrl )
    {
        this.yylrl = yylrl;
    }

    @Column(name = "jzcsyl", precision = 18, scale = 4)
    public BigDecimal getJzcsyl()
    {
        return this.jzcsyl;
    }

    public void setJzcsyl( BigDecimal jzcsyl )
    {
        this.jzcsyl = jzcsyl;
    }

    @Column(name = "zzcbcl", precision = 18, scale = 4)
    public BigDecimal getZzcbcl()
    {
        return this.zzcbcl;
    }

    public void setZzcbcl( BigDecimal zzcbcl )
    {
        this.zzcbcl = zzcbcl;
    }

    @Column(name = "zyywmlrl", precision = 18, scale = 4)
    public BigDecimal getZyywmlrl()
    {
        return this.zyywmlrl;
    }

    public void setZyywmlrl( BigDecimal zyywmlrl )
    {
        this.zyywmlrl = zyywmlrl;
    }

    @Column(name = "zyywsrzzl", precision = 18, scale = 4)
    public BigDecimal getZyywsrzzl()
    {
        return this.zyywsrzzl;
    }

    public void setZyywsrzzl( BigDecimal zyywsrzzl )
    {
        this.zyywsrzzl = zyywsrzzl;
    }

    @Column(name = "jlrzzl", precision = 18, scale = 4)
    public BigDecimal getJlrzzl()
    {
        return this.jlrzzl;
    }

    public void setJlrzzl( BigDecimal jlrzzl )
    {
        this.jlrzzl = jlrzzl;
    }

    @Column(name = "zbjll", precision = 18, scale = 4)
    public BigDecimal getZbjll()
    {
        return this.zbjll;
    }

    public void setZbjll( BigDecimal zbjll )
    {
        this.zbjll = zbjll;
    }

    @Column(name = "zcfzl", precision = 18, scale = 4)
    public BigDecimal getZcfzl()
    {
        return this.zcfzl;
    }

    public void setZcfzl( BigDecimal zcfzl )
    {
        this.zcfzl = zcfzl;
    }

    @Column(name = "ldbl", precision = 18)
    public BigDecimal getLdbl()
    {
        return this.ldbl;
    }

    public void setLdbl( BigDecimal ldbl )
    {
        this.ldbl = ldbl;
    }

    @Column(name = "sdbl", precision = 18)
    public BigDecimal getSdbl()
    {
        return this.sdbl;
    }

    public void setSdbl( BigDecimal sdbl )
    {
        this.sdbl = sdbl;
    }

    @Column(name = "ylxjbl", precision = 18)
    public BigDecimal getYlxjbl()
    {
        return this.ylxjbl;
    }

    public void setYlxjbl( BigDecimal ylxjbl )
    {
        this.ylxjbl = ylxjbl;
    }

    @Column(name = "xjldfzbl", precision = 18)
    public BigDecimal getXjldfzbl()
    {
        return this.xjldfzbl;
    }

    public void setXjldfzbl( BigDecimal xjldfzbl )
    {
        this.xjldfzbl = xjldfzbl;
    }

    @Column(name = "lxbzbs", precision = 18)
    public BigDecimal getLxbzbs()
    {
        return this.lxbzbs;
    }

    public void setLxbzbs( BigDecimal lxbzbs )
    {
        this.lxbzbs = lxbzbs;
    }

    @Column(name = "dqzwbxchl", precision = 18)
    public BigDecimal getDqzwbxchl()
    {
        return this.dqzwbxchl;
    }

    public void setDqzwbxchl( BigDecimal dqzwbxchl )
    {
        this.dqzwbxchl = dqzwbxchl;
    }

    @Column(name = "jzcynmdkyebl", precision = 18, scale = 4)
    public BigDecimal getJzcynmdkyebl()
    {
        return this.jzcynmdkyebl;
    }

    public void setJzcynmdkyebl( BigDecimal jzcynmdkyebl )
    {
        this.jzcynmdkyebl = jzcynmdkyebl;
    }

    @Column(name = "cqzbhbl", precision = 18)
    public BigDecimal getCqzbhbl()
    {
        return this.cqzbhbl;
    }

    public void setCqzbhbl( BigDecimal cqzbhbl )
    {
        this.cqzbhbl = cqzbhbl;
    }

    @Column(name = "gdzczzl", precision = 18)
    public BigDecimal getGdzczzl()
    {
        return this.gdzczzl;
    }

    public void setGdzczzl( BigDecimal gdzczzl )
    {
        this.gdzczzl = gdzczzl;
    }

    @Column(name = "dbbl", precision = 18, scale = 4)
    public BigDecimal getDbbl()
    {
        return this.dbbl;
    }

    public void setDbbl( BigDecimal dbbl )
    {
        this.dbbl = dbbl;
    }

    @Column(name = "rzl", precision = 18)
    public BigDecimal getRzl()
    {
        return this.rzl;
    }

    public void setRzl( BigDecimal rzl )
    {
        this.rzl = rzl;
    }

    @Column(name = "gdzcjzl", precision = 18, scale = 4)
    public BigDecimal getGdzcjzl()
    {
        return this.gdzcjzl;
    }

    public void setGdzcjzl( BigDecimal gdzcjzl )
    {
        this.gdzcjzl = gdzcjzl;
    }

    @Column(name = "zysrxjl", precision = 18, scale = 4)
    public BigDecimal getZysrxjl()
    {
        return this.zysrxjl;
    }

    public void setZysrxjl( BigDecimal zysrxjl )
    {
        this.zysrxjl = zysrxjl;
    }

    @Column(name = "yszkzzl", precision = 18)
    public BigDecimal getYszkzzl()
    {
        return this.yszkzzl;
    }

    public void setYszkzzl( BigDecimal yszkzzl )
    {
        this.yszkzzl = yszkzzl;
    }

    @Column(name = "gdzczzsd", precision = 18)
    public BigDecimal getGdzczzsd()
    {
        return this.gdzczzsd;
    }

    public void setGdzczzsd( BigDecimal gdzczzsd )
    {
        this.gdzczzsd = gdzczzsd;
    }

    @Column(name = "zzczzl", precision = 18)
    public BigDecimal getZzczzl()
    {
        return this.zzczzl;
    }

    public void setZzczzl( BigDecimal zzczzl )
    {
        this.zzczzl = zzczzl;
    }

}
